<h1>New game</h1>

<% form_for([@fset,@game]) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>



<h1>Listing friends (all fusers)</h1>

<table>
  <tr>
    <th>Magic</th>
  </tr>

<% for fuser in @friends %>
  <tr>
    <td><%=h fuser.magic %></td>
    <td><%= link_to 'Show', fuser %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'Back', fset_path(@fset) %>
